//
//  TriggerEngine.h
//  carcareIOS
//
//  Created by ileo on 15/12/18.
//  Copyright © 2015年 baozun. All rights reserved.
//

#import <Foundation/Foundation.h>


@protocol TriggerVister <NSObject>

@optional
-(void)triggerByAccountLogout;//用户登出时调用
-(void)triggerByAccountUpdate;//账户发生变化时调用

-(void)triggerByVersionUpdate;//版本更新
-(void)triggerByDateUpdate;//日期更新

@end

@interface TriggerEngine : NSObject

DEF_SINGLETON

-(void)addVisiter:(id<TriggerVister>)visiter;
-(void)removeVisiter:(id<TriggerVister>)visiter;

@end

